package com.ruoyi.system.domain;

import java.util.List;

public class GroupResult {
    String groupedNumber;
    BanknoteSerialNumberRecord firstObject;

    NiceRecord niceRecord;

    private List<BanknoteSerialNumberRecord> list;
    private List<NiceRecord> numberRecords;

    public GroupResult(String groupedNumber, BanknoteSerialNumberRecord firstObject,List<BanknoteSerialNumberRecord> list) {
        this.list = list;
        this.groupedNumber = groupedNumber;
        this.firstObject = firstObject;
    }

    public GroupResult(String groupedNumber, NiceRecord firstObject,List<NiceRecord> list) {
        this.numberRecords = list;
        this.groupedNumber = groupedNumber;
        this.niceRecord = firstObject;
    }


    public String getGroupedNumber() {
        return groupedNumber;
    }

    public BanknoteSerialNumberRecord getFirstObject() {
        return firstObject;
    }

    public List<BanknoteSerialNumberRecord> getList() {
        return list;
    }

    public NiceRecord getNiceRecord() {
        return niceRecord;
    }
    public List<NiceRecord> getNumberRecords() {
        return numberRecords;
    }

}